<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>@yield('title') - 教师公寓管理系统</title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <!-- Bootstrap 3.3.5 -->
    <link rel="stylesheet" href="/package/bootstrap/css/bootstrap.min.css">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="/css/font-awesome.min.css">
    <!-- Ionicons -->
    <link rel="stylesheet" href="/package/ionicons/ionicons.min.css">
    @yield("self-style")
    <!-- Theme style -->
    <link rel="stylesheet" href="/package/dist/css/AdminLTE.min.css">
    <!-- AdminLTE Skins. Choose a skin from the css/skins
         folder instead of downloading all of them to reduce the load. -->
    <link rel="stylesheet" href="/package/dist/css/skins/_all-skins.min.css">
    <link rel="stylesheet" href="/css/apart.css?v={{ time() }}">

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="/package/html5shiv/html5shiv.min.js"></script>
    <script src="/package/respond/respond.min.js"></script>
    <![endif]-->
    <script type="text/javascript">
        var config = {
            domain : '{!! $domain !!}',
            css : '/css/',
            js : '/js/',
            images : '/images/',
            pictures : '/pictures/'

        };
        var _token = '{!! $token !!}';
        var role = '{!! $role !!}';
    </script>
    <style type="text/css">
        .main-header .logo .logo-lg {font-size: 18px;}
        .sidebar-menu li {font-size: 16px;}
        .sidebar-menu li i {font-size: 24px;}
    </style>
    @yield("local-style")
</head>
<body class="hold-transition skin-blue sidebar-mini">
<!-- Site wrapper -->
<div class="wrapper">

    @include("layouts.header")

    <!-- =============================================== -->

    <!-- Left side column. contains the sidebar -->
    <aside class="main-sidebar">
        <!-- sidebar: style can be found in sidebar.less -->
        @yield("menu")
        <!-- /.sidebar -->
    </aside>

    <!-- =============================================== -->

    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        @section("header")

        @show

        <!-- Main content -->
        @section("content")

        @show
        <!-- /.content -->
    </div>
    <!-- /.content-wrapper -->

    <footer class="main-footer">
        <div class="pull-right hidden-xs">
            <b>Version</b> 0.1.2
        </div>
        <strong>Copyright &copy; 2016-2018 <a href="http://www.uncleostricn.cn">教师公寓管理系统</a>.</strong> All rights
        reserved. &nbsp;技术支持：杭州亿校云信息技术有限公司
    </footer>
    @section("modal")

    @show
    <div class="modal fade" id="action-tip">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                        <span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title">操作提示</h4>
                </div>
                <div class="modal-body">
                    <div class="tip-content"></div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                </div>
            </div>
            <!-- /.modal-content -->
        </div>
        <!-- /.modal-dialog -->
    </div>
</div>
<!-- ./wrapper -->

<!-- jQuery 2.1.4 -->
<script src="/package/plugins/jQuery/jQuery-2.1.4.min.js"></script>
<script src="/package/jquery-url-parser/purl.js"></script>
<script src="/package/jquery-cookie/jquery.cookie.min.js"></script>
<!-- Bootstrap 3.3.5 -->
<script src="/package/bootstrap/js/bootstrap.min.js"></script>
<script src="/js/jquery.qrcode.min.js"></script>
<script src="/js/check.js?v={{ time() }}"></script>
@yield("self-script")
<!-- SlimScroll -->
<script src="/package/plugins/slimScroll/jquery.slimscroll.min.js"></script>
<!-- FastClick -->
<script src="/package/plugins/fastclick/fastclick.js"></script>
<!-- AdminLTE App -->
<script src="/package/dist/js/app.min.js"></script>
<!-- AdminLTE for demo purposes -->
<script src="/package/dist/js/demo.js"></script>
@yield("local-script")
</body>
</html>